LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := dirtycow
LOCAL_ARM_MODE := arm
LOCAL_SRC_FILES := dirtyc0w.c
LOCAL_CFLAGS += -Wall
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_LDLIBS += -lpthread
include $(BUILD_STATIC_LIBRARY)
LOCAL_DISABLE_FORMAT_STRING_CHECKS := true